﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DataAbstractorExample.Forms
{
    public class CommentView
    {
        public int CommentId { get; set; }
        public string From { get; set; }
        public string Message { get; set; }
    }

    public class NoteView
    {
        public int NoteId { get; set; }
        public DateTime Created { get; set; }
        public string Message { get; set; }
        public IEnumerable<CommentView> Comments { get; set; }
    }

    public class NoteListView
    {
        public IEnumerable<NoteView> Notes { get; set; }
    }

    public class NoteEdit
    {
        public string Message { get; set; }
    }
}